
	<h3 class="title-popup">Form Detil Data Karyawan</h3>
        
        
	<form action="<?php echo $nik; ?>" method="post" onsubmit="return save()" enctype="multipart/form-data">

        <fieldset id="flddetil">

	<dl>
                <dt class="mandatory">Divisi</dt>
		<dd><?php echo $divisi_karyawan;?>&nbsp;</dd>

                <dt class="mandatory">NIK</dt>
                <dd><?php echo $nik;?>&nbsp;</dd>

                <dt class="mandatory">Nama Karyawan</dt>
		<dd><?php echo $nama;?>&nbsp;</dd>

                <dt>Nama Panggilan</dt>
		<dd><?php echo $nama_panggilan;?>&nbsp;</dd>

                <dt class="mandatory">Tempat Lahir</dt>
		<dd><?php echo $tempat_lahir;?>&nbsp;</dd>

                <dt >Tanggal Lahir</dt>
		<dd><?php echo $tanggal_lahir;?>&nbsp;</dd>

                <dt>Alamat</dt>
		<dd><?php echo $alamat;?>&nbsp;</dd>

                <dt class="mandatory">Kota</dt>
		<dd><?php echo $kota;?>&nbsp;</dd>

                <dt>Propinsi</dt>
		<dd><?php echo $propinsi;?>&nbsp;</dd>

                <dt>Agama</dt>
		<dd><?php echo $agama;?>&nbsp;</dd>

                <dt>Kewarganegaraan</dt>
		<dd><?php echo $warga_negara;?>&nbsp;</dd>

                <dt>Status Marital</dt>
		<dd><?php echo $status_marital;?>&nbsp;</dd>

                <dt>No. Telp</dt>
		<dd><?php echo $no_telepon;?>&nbsp;</dd>

                <dt>No. HP</dt>
		<dd><?php echo $no_hp;?>&nbsp;</dd>

                <dt>Email</dt>
		<dd><?php echo $email;?>&nbsp;</dd>

                <dt>Tanggal Masuk</dt>
		<dd>
                    <?php echo $tanggal_masuk; ?>&nbsp;
                </dd>

                

        </dl>
        </fieldset>
	<div id="box-control-save">
        <input type="button" class="CommandButton" value="Close" onclick="javascript:closeGB_();"/>
	</div>
	</form>
<script type="text/javascript">
/*window.parent.parent.GB_hide();window.parent.parent.location.reload()*/
	function closeGB_ (){
		<?php echo CloseGB(true);?>
	}	
	function save() {
                var id_user = document.getElementById("id_user");
                var nik = document.getElementById("nik");
                var id_group_user = document.getElementById("id_group_user");

                if(trimValue(id_user.value) == '') {
			alert('Parameter ID Pengguna tidak ditemukan!');
		}else if(trimValue(nik.value) == ''){
                        alert('Parameter NIK tidak ditemukan!');
                }else if(trimValue(id_group_user.value) == ''){
                        alert('Parameter Kelompok Pengguna tidak ditemukan!');
                }else{
                    return true;
                }

                return false;
        }

        function trimValue(str){
                var out = "";
                out = str.replace(/^\s+|\s+$/g,"");
                return out;
        }

        function _obj_fSendValue(kode, nama, elmKode, elmNama) {
                var elmk = document.getElementById("" + elmKode + "");
                var elmn = document.getElementById("" + elmNama + "");
                try {
                        elmk.value = kode;
                        elmn.value = nama;
                }
                catch(e) {
                        alert(e.message);
                }
        }



</script>
